package com.lt.contract.dao;

import com.lt.contract.entity.NmErpContractRelation;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * ERP下发合同明细计费方式维护(NmErpContractRelation)表数据库访问层
 *
 * @author makejava
 * @since 2020-02-18 21:29:42
 */
public interface NmErpContractRelationDao {

    List<NmErpContractRelation> getContractImportantList(Map<String,Object> map);

    Long getContractImportantCount (Map<String,Object> map);



    /**
     * 新增数据
     *
     * @param nmErpContractRelation 实例对象
     * @return 影响行数
     */
    int insert(NmErpContractRelation nmErpContractRelation);

    /**
     * 修改数据
     *
     * @param nmErpContractRelation 实例对象
     * @return 影响行数
     */
    int update(NmErpContractRelation nmErpContractRelation);

    /**
     * 通过主键删除数据
     *
     * @param  主键
     * @return 影响行数
     */
    int deleteById(NmErpContractRelation nmErpContractRelation);

}
